#include "NorLibrary.h"
#include <QDebug>

#include "UI/ModRun/Output/FactoryOutput.h"


NorLibrary::NorLibrary()
{

}

NorLibrary::~NorLibrary()
{

}

//步骤1;
void NorLibrary::Step1()
{
    QString strOutput = "NorLibrary::Step1";
    qDebug() << strOutput;
    std::shared_ptr<IOutput> pOutPut = FactoryOutput::GetInstance()->CreateRunOutput();
    if (pOutPut)
    {
        std::initializer_list<QString> outList{ strOutput };
        pOutPut->OutPut(outList);
    }
}

//步骤3;
void NorLibrary::Step3()
{
    QString strOutput = "NorLibrary::Step3";
    qDebug() << strOutput;
    std::shared_ptr<IOutput> pOutPut = FactoryOutput::GetInstance()->CreateRunOutput();
    if (pOutPut)
    {
        std::initializer_list<QString> outList{ strOutput };
        pOutPut->OutPut(outList);
    }
}

//步骤5;
void NorLibrary::Step5()
{
    QString strOutput = "NorLibrary::Step5";
    qDebug() << strOutput;
    std::shared_ptr<IOutput> pOutPut = FactoryOutput::GetInstance()->CreateRunOutput();
    if (pOutPut)
    {
        std::initializer_list<QString> outList{ strOutput };
        pOutPut->OutPut(outList);
    }
}
